//
//  ThemeCollectionViewCell.m
//  MusicPlayer
//
//  Created by 李欢 on 15/6/1.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "ThemeCollectionViewCell.h"
#define Width [UIScreen mainScreen].bounds.size.width
#define Height [UIScreen mainScreen].bounds.size.height
@implementation ThemeCollectionViewCell
- (void)dealloc
{
    [_imageView release];
    [super dealloc];
}

-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        self.imageView.userInteractionEnabled = YES;
        self.imageView = [[UIImageView alloc] initWithFrame:CGRectMake(3/375.0*Width, 30/667.0*Height, 150/375.0*Width, 150/667.0*Height)];
        _imageView.layer.cornerRadius = 9/375.0*Width;
        _imageView.clipsToBounds = YES;
        [self addSubview:_imageView];
        [_imageView release];
        
    }
    return self;
}


@end
